Automating Junos Administration by Looney Jonathan

Automating Junos Administration by Looney Jonathan

Author:Looney, Jonathan...
Language: eng
Format: epub
Published: 2016-04-28T12:08:50.781815+00:00


This regular expression is used to parse the IP address. We really don’t need to make a variable to hold this. The main reason we did that was just to make the script format better for the book.

The regular expression uses parentheses to create two groups. The first group holds the first three octets of the IP address and the trailing dot. The second group holds the final octet. These groupings are significant, because we will later be able to access the values that match each group.

The trailing slash is not part of any group. It ensures that the second grouping matches everything up to the slash.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.